package com.passer.toolbox.common.file.filter;

import java.io.File;

public class FilenameFilter implements java.io.FilenameFilter {
    private final String fileName;

    public FilenameFilter(String fileName) {
        this.fileName = fileName;
    }


    @Override
    public boolean accept(File dir, String name) {
       return fileName.equals(name);
    }
}
